<div class="row">
	<div class="col-md-12">
		<!-- Custom Tabs -->
		<div class="nav-tabs-custom">
			<ul class="nav nav-tabs">
				<li>
					<a href="<?php echo base_url();?>jobseekers/welcome"> Welcome</a>
				</li>
				<li>
					<a href="<?php echo base_url(); ?>jobseekers/profile"> View</a>
				</li>
				<li class="active">
					<a href="<?php echo base_url(); ?>jobseekers/edit-profile">Modify</a>
				</li>
				<li>
					<a href="<?php echo base_url(); ?>jobseekers/job-preferences">Job Preferences</a>
				</li>

				<li class="dropdown pull-right">
					<a class="dropdown-toggle" data-toggle="dropdown" href="#"><i class="glyphicon glyphicon-user"/></i> <?php echo $username; ?>
					<span class="caret"></span> </a>
					<ul class="dropdown-menu">
						<li role="presentation">
							<a role="menuitem" tabindex="-1" href="<?php echo base_url(); ?>jobseekers/change-picture">Change Picture</a>
						</li>
						<li role="presentation">
							<a role="menuitem" tabindex="-1" href="<?php echo base_url(); ?>jobseekers/change-password">Change Password</a>
						</li>
						<li role="presentation">
							<a role="menuitem" tabindex="-1" href="<?php echo base_url(); ?>jobseekers/view-profile">Profile</a>
						</li>
						<li role="presentation" class="divider"></li>
						<li role="presentation">
							<a role="menuitem" tabindex="-1" href="<?php echo base_url(); ?>jobseekers/logout">Logout</a>
						</li>
					</ul>
				</li>
				
			</ul>
			<div class="tab-content">
				<div class="tab-pane active" id="tab_1">

					<div class="box box-primary">
						<div class="box-header">
							<h4 class="box-title"><span style="color:#3C8DBC !important;">Edit your profile</span></h4>
						</div>

						<!-- the events -->
						<div id="external-events">
							<form role="form" class="remove-box-border" method="post" action="<?php echo base_url(); ?>jobseekers/edit-profile">
								<div class="box-body">
									<div class="form-group">
										<label for="email">Email <span class="required">*</span></label>
										<input type="email" class="form-control" id="email" name="email" placeholder="Email" value="<?php echo $user_info -> row() -> email; ?>" required="required">
										<?php echo form_error('email'); ?>
									</div>
									<div class="form-group">
										<label for="title">Title <span class="required">*</span></label>
										<select name="title" class="form-control">
											<option value="1">Mr</option>
											<option value="1">Mrs</option>
											<option value="1">Mss</option>
										</select>
										<?php //echo form_error('title'); ?>
									</div>
									<div class="form-group">
										<label for="first_name">First Name <span class="required">*</span></label>
										<input type="first_name" class="form-control" id="first_name" name="first_name" placeholder="First Name" value="<?php echo $user_info -> row() -> first_name; ?>" required="required">
										<?php echo form_error('first_name'); ?>
									</div>
									<div class="form-group">
										<label for="last_name">Last Name <span class="required">*</span></label>
										<input type="last_name" class="form-control" id="last_name" name="last_name" placeholder="Last Name" value="<?php echo $user_info -> row() -> last_name; ?>" required="required">
										<?php echo form_error('last_name'); ?>
									</div>
									<div class="form-group">
										<label for="phone">Phone </label>
										<input type="text" class="form-control" id="phone" name="phone" placeholder="Phone" value="<?php echo $user_info -> row() -> phone; ?>" required="required">
										<?php //echo form_error('phone'); ?>
									</div>
									<div class="form-group">
										<label for="mobile">Mobile </label>
										<input type="text" class="form-control" id="mobile" name="mobile" placeholder="Mobile" value="<?php echo $user_info -> row() -> mobile; ?>" required="required">
										<?php //echo form_error('mobile'); ?>
									</div>
									<?php
										$dob_db = explode("-",$user_info -> row() -> date_of_birth);
										$dob = $dob_db[2] . "/" . $dob_db[1] . "/" . $dob_db[0];
									?>
									<div class="form-group">
										<label for="dob">Date of Birth (dd/mm/yyyy)</label>
										<input type="text" class="form-control" id="dob" name="dob" placeholder="" value="<?php echo $dob; ?>" data-inputmask="'alias': 'dd/mm/yyyy'" data-mask="">
										<?php //echo form_error('dob'); ?>
									</div>
									<div class="form-group">
										<label for="gender">Gender </label>
										<select name="gender" class="form-control">
											<option value="Male">Male</option>
											<option value="Female">Female</option>

										</select>
										<?php //echo form_error('title'); ?>
									</div>
									<div class="form-group">
										<label for="address">Address</label>
										<textarea class="form-control" rows="5" name="address"><?php echo $user_info -> row() -> address; ?></textarea>
									</div>

								</div>
								<div class="box-footer">
									<div class="">
										<button class="btn btn-primary" type="submit">
											<i class="fa fa-fw fa-sign-in"></i> Save
										</button>
									</div>
								</div>
							</form>
						</div><!-- /.box-body -->

					</div><!-- /. end facebook fan page -->
				</div><!-- /.tab-pane -->
			</div><!-- /.tab-content -->
		</div><!-- nav-tabs-custom -->
	</div><!-- /.col -->
</div>
